
html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-size: 100px;
}

@media screen and (max-width:1400px) {
    html {
        font-size: 80px;
    }
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Microsoft YaHei";
    background: url('/images/clw/bg-dark.jpeg') center center repeat;
    background-size: 400px 400px;
}

ul {
    list-style: none;
}

p{
    margin: 0;
}

button {
    display: inline-block;
    padding: 5px 12px;
    margin-bottom: 0;
    font-size: .13rem;
    font-weight: 400;
    line-height: 1.53846154;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-transition: all .4s cubic-bezier(.175, .885, .32, 1);
    -o-transition: all .4s cubic-bezier(.175, .885, .32, 1);
    transition: all .4s cubic-bezier(.175, .885, .32, 1);
}
body > header{
    font-size: .4rem;
    color: #fff;
    line-height: .6rem;
    height: .6rem;
    text-indent: .3rem;
}
.table{
    margin: 1rem auto 0;
    max-height: 6rem;
    width: 90%;
    background-color: #ebebeb;
    border-radius: 15px;
}
.table .servers{
    min-height: 3rem;
}
.table .servers .title{
    position: relative;
    line-height: .5rem;
    height: .5rem;
    font-size: .22rem;
    text-indent: .3rem;
    background-color: #cee1e9d7;
    border-left: 5px solid #3a4d66;
    color: #366294;
    border-radius: 15px 15px 0 0;
}
.table .servers .add{
    position: absolute;
    top: 5px;
    right: .3rem;
    background-color: #366294;
    color: #fff;
}
.table .servers .add:hover{
    background-color: #11335a;
    color: #fff;
}
.table .servers header{
    display: flex;
    justify-content: center;
    font-size: .18rem;
    border: 1px solid #11335a;
    background-color: #adc6e4;
    line-height: .36rem;
    height: .36rem;
}
.table .servers header span{
    flex: 1;
    text-align: center;
}
.table .servers main{
    min-height: 2rem;
    border: 1px solid #365b85;
    border-top: none;
    font-size: .16rem;
}
.table .servers main div{
    display: flex;
    justify-content: center;
    line-height: .5rem;
    background-color: #cfe0f5;
    border-bottom: 1px solid #adc6e4;
    height: .5rem;
}
.table .servers main div span{
    padding: 0 .2rem;
    flex: 1;
    text-align: center;
    overflow: hidden;;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.table .servers .edit{
    margin: 0 .2rem;
    background-color: #366294;
    color: #fff;
}
.table .servers .edit:hover{
    background-color: #11335a;
    color: #fff;
}
.table .servers .del{
    margin: 0 .2rem;
    background-color: #943636;
    color: #fff;
}
.table .servers .del:hover{
    background-color: #5a1111;
    color: #fff;
}
.table .data_box{
    position: fixed;
    top: 30%;
    left: calc(50% - 2rem);
    display: flex;
    flex-direction: column;
    padding: .2rem;
    width: 4rem;
    height: 3rem;
    box-sizing: border-box;
    background-color: #fff;
    border: 1px solid #11335a;
    border-radius: .1rem;
    font-size: .16rem;
    transition: all .5s;
}
.table .data_box.nagtive{
    display: none;
    transform: scale(0);
}
.table .data_box > span{
    text-align: center;
    line-height: .4rem;
    height: .4rem;
    margin: .05rem 0;
}
.table .data_box > span label{
    width: 1rem;
    display: inline-block;
}
.table .data_box .confirm{
    margin: .1rem;
    display: inline-block;
    width: 1.2rem;
    background-color: #366294;
    color: #fff;
}
.table .data_box .confirm:hover{
    background-color: #11335a;
    color: #fff;
}
.table .data_box .cancel{
    margin: .1rem;
    display: inline-block;
    width: 1.2rem;
    background-color: #943636;
    color: #fff;
}
.table .data_box .cancel:hover{
    background-color: #5a1111;
    color: #fff;
}
.table .data_box .input > input,
.table .data_box select{
    width: 1.4rem;
    height: .4rem;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #365b85;
    padding: 4px;
}
.table .data_box input[name="id"]{
    background-color: #f3f3f3;
}
.table .data_box .select2,
.table .data_box .select2 .select2-selection{
    width: 1.4rem;
    height: .4rem;
    line-height: .4rem;
    font-size: .14rem;
}
.table .data_box .select2 .select2-selection ul{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.table .data_box .select2 .select2-selection ul li{
    display: inline-block;
    float: none;
    line-height: .36rem;
}
.select2-container{
    font-size: .14rem;
}
.table .servers footer{
}
footer section.counts{
    display: flex;
    flex-direction:  row;
    align-items: center;
    justify-content: flex-end;
    padding: 0 .5rem;
    min-height: .8rem;
    box-sizing: border-box;
    font-size: .18rem;
}
footer section.counts .count{
    width: 24px;
    height: 24px;
    line-height: 24px;
    border: 1px solid #365b85;
    border-radius: 5px;
    color: #365b85;
    font-size: .18rem;
    text-align: center;
    margin: 0 .1rem;
    cursor: pointer;
}
footer section.counts .count:hover,
footer section.counts .count.active{
    background-color: #365b85;
    color: #fff;
}